<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
 * Categories model
 *
 * @package		PyroCMS
 * @subpackage	Categories Module
 * @category	Modules
 * @author		Phil Sturgeon - PyroCMS Dev Team
 */
class Escort_site_settings_on_zones_m extends MY_Model
{
	protected $_table = 'escort_site_settings_on_zones';
	
	public function get_by_site($site_id){
		return $this->db->select('escort_site_settings_on_zones.*')
		->where(array('escort_site_settings_on_zones.site_id' => $site_id))
		->get('escort_site_settings_on_zones')
		->result();
	}
}